home *** CD-ROM | disk | FTP | other *** search
- on(press){
- if(mto == "" or subject == "" or mto == undefined or subject == undefined or mto.indexOf("@") < 1)
- {
- ttt = 1;
- mto = "";
- subject = "";
- }
- else if(ttt != 1)
- {
- ttt = 2;
- okol.nextFrame();
- loadVariables("http://www.crawlor.com/gameshot/magneto/sendt.php?" + new Date().getTime(),this,"POST");
- trace("send");
- this.onData = function()
- {
- if(eintrag)
- {
- gotoAndStop(4);
- ttt = 0;
- mto = "";
- subject = "";
- delete eintrag;
- }
- else
- {
- gotoAndStop(4);
- ttt = 0;
- mto = "";
- subject = "";
- status_txt.text = "Fehler !";
- delete eintrag;
- }
- };
- }
- if(ttt == 1)
- {
- gotoAndStop(3);
- }
- }
-